<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>{{ page.title }}</title>
    {% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
    <meta name="author" content="{{ site.author.name }}">

    <!-- Enable responsive viewport -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

    <!-- Bootstrap styles -->
    <link href="{{ ASSET_PATH }}/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
    <!-- Optional theme -->
    <link href="{{ ASSET_PATH }}/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet"/>
    <!-- Sticky Footer -->
    <link href="{{ ASSET_PATH }}/bootstrap/css/bs-sticky-footer.css" rel="stylesheet"/>

    <!-- Custom styles -->
    <link href="{{ ASSET_PATH }}/css/style.css?body=1" rel="stylesheet" type="text/css" media="all"/>

    <!-- icon -->
    <link rel="apple-touch-icon" sizes="180x180" href="{{ ASSET_PATH }}/images/logo/apple-touch-icon.png">
    <link rel="icon" type="image/png" href="{{ ASSET_PATH }}/images/logo/favicon-32x32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="{{ ASSET_PATH }}/images/logo/favicon-16x16.png" sizes="16x16">
    <link rel="manifest" href="{{ ASSET_PATH }}/images/logo/manifest.json">
    <link rel="mask-icon" href="{{ ASSET_PATH }}/images/logo/safari-pinned-tab.svg" color="#5bbad5">
    <link rel="shortcut icon" href="{{ ASSET_PATH }}/images/logo/favicon.ico">
    <meta name="msapplication-config" content="{{ ASSET_PATH }}/images/logo/browserconfig.xml">
    <meta name="theme-color" content="#ffffff">

    <!-- Custom fonts and icons via Font Awesome, http://fortawesome.github.io/Font-Awesome/ -->
    <!--<script src="https://use.fontawesome.com/51d391e302.js"></script> -->
    <script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>

    <!-- Academicons: https://jpswalsh.github.io/academicons/ -->
    <link rel="stylesheet" href="/assets/css/academicons.min.css"/>

    <link rel="stylesheet" href="/assets/css/icon-list-group.css"/>

    <!-- Fonts via Google -->
    <link href='https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700' rel='stylesheet' type='text/css'/>

    <!-- Math via MathJax -->
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>


    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->

    <!-- atom & rss feed
    <link href="{{ BASE_PATH }}{{ site.JB.atom_path }}" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed">
    <link href="{{ BASE_PATH }}{{ site.JB.rss_path }}" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed">
    -->

  </head>

  <body>

  <!-- Static top navbar -->

  <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
  <div class='container'>
      <!-- Brand and toggle get grouped for better mobile display -->
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#jb-navbar-collapse">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a href="{{ HOME_PATH }}">
        <img class="navbar-left logo" src="{{ ASSET_PATH }}/images/logo/lab-logo.svg" type="image/svg+xml">
        </a>
      </div>

      <!-- Collect the nav links, forms, and other content for toggling -->
      <div class="collapse navbar-collapse" id="jb-navbar-collapse">
        <ul class="nav navbar-nav navbar-left hidden-sm">
          <!-- Don't put site title on home page -- there's already a big title there. -->
          {% assign make_title = true %}
          {% for pc in page.categories %}
            {% if pc == "home" %}
             {% assign make_title = false %}
            {% endif %}
          {% endfor %}
          {% if make_title == true %}
          <a class="navbar-brand" href="{{ HOME_PATH }}">{{ site.title }}</a>
          {% endif %}
        </ul>
        <ul class="nav navbar-nav navbar-right pull-right">
          {% assign pages_list = (site.pages | sort: 'navorder') %}
          {% assign group = 'navigation' %}
          {% include JB/pages_list %}
          <li><a href="https://medium.com/nrg-excitations" target="_blank">Blog</a></li>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
              More <span class="caret"></span>
            </a>

            <ul class="dropdown-menu" role="menu">
              {% assign pages_list = (site.pages | sort: 'navorder') %}
              {% assign group = 'subnavigation' %}
              {% include JB/pages_list %}
            </ul>
          </li>

          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
              Docs <span class="caret"></span></a>
            <ul class="dropdown-menu" role="menu">
              {% if page.title == "Group Docs" %}
                <li class="dropdown-item active"><a href="/docs">Docs</a></li>
              {% else %}
                <li class="dropdown-item"><a href="/docs">Docs</a></li>
              {% endif %}
              <li role="separator" class="divider"></li>
              {% assign pages_list = (site.pages | sort: 'navorder') %}
              {% assign group = 'docs' %}
              {% include JB/pages_list %}
            </ul>
          </li>

        </ul>
      </div><!-- /.navbar-collapse -->
    </nav>
   </div>

   <!-- Content -->
   <div class="container">
      {{ content }}
   </div>


  <!-- Static bottom navbar -->
  <nav class="navbar navbar-default navbar-fixed-bottom">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#jb-bottom-collapse"> <!-- NOTE! data-target was changed to jb-bottom-collapse -->
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      </div>
      <!-- Collect the nav links, forms, and other content for toggling -->
      <div class="collapse navbar-collapse" id="jb-bottom-collapse">
        <ul class="nav navbar-nav navbar-left navbar-small">
          <li><a href={{ site.department.url }}>{{ site.department.name }}</a></li>
          <li><a href={{ site.institution.url }}>{{ site.institution.name }}</a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right navbar-small">
          <li><a href='/about.html#purpose'>About</a></li>
          <li><a href='/about.html#join'>Join</a></li>
          <li><a href='/about.html#contact'>Contact</a></li>
        </ul>
      </div><!-- /.navbar-collapse -->
    </div>
  </nav>



    {% include JB/analytics %}


    <!-- Latest compiled and minified JavaScript, requires jQuery 1.x (2.x not supported in IE8) -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <script src="{{ ASSET_PATH }}/bootstrap/js/bootstrap.min.js"></script>
  </body>
</html>
